﻿namespace Pixeldyne.Core.Configuration
{
	/// <summary>
	/// Collection of <see cref="KeyValueElement"/> configuration elements.
	/// </summary>
	public class KeyValueCollection : BaseCollection<string, KeyValueElement>
	{
		/// <summary>
		/// Gets the element key.
		/// </summary>
		/// <param name="element">The element.</param>
		protected override string GetElementKey(KeyValueElement element)
		{
			return element.Key;
		}
	}
}
